package com.qfmy.app.vo.novel;

import com.qfmy.model.entity.novel.Chapter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.util.List;

/**
 * @author 清风明月
 * @Package com.qfmy.app.vo.novel
 * @date 2025/4/14
 * @description 小说的实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class BookVo {

    @Schema(description = "小说ID")
    private Integer bookId;

    @Schema(description = "小说名称")
    private String bookName;

    @Schema(description = "小说作者")
    private String author;

    @Schema(description = "小说描述")
    private String des;

    @Schema(description = "小说状态 0:连载中 1:已完结 2:断更")
    private String status;

    @Schema(description = "小说字数")
    private Long count;

    @Schema(description = "小说类别")
    private String type;

    @Schema(description = "小说封面")
    private String imgUrl;

    @Schema(description = "是否推荐 0:不推荐 1:推荐")
    private Integer recomend;

    @Schema(description = "书籍总评分")
    private Double totalScore;

    @Schema(description = "阅读人数")
    private Integer readBook;

    @Schema(description = "评分人数")
    private Integer ratingCount;

    @Schema(description = "小说章节")
    private List<Chapter> chapterList;

    @Schema( description = "是否加入书架")
    private Boolean isShelf;

    @Schema(description ="当前用户对小说的评分")
    private Double score;

    @Schema(description = "是否评分")
    private Boolean isRating;

    @Schema(description = "搜索的次数")
    private Integer searchCount;

}
